package com.tn.exam.entity;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * ExamPaper entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "exam_paper")
public class ExamPaper extends BaseEntity implements java.io.Serializable {

	// Fields

	private Integer paperId;
	private String paperName;
	private Integer paperType;
	private String paperDescription;
	private Date paperCreateTime;
	private Integer paperCreatorId;
	private Integer paperModifyUser;
	private Date paperModifyTime;
	private Integer paperTotalScore;
	private Integer paperPassScore;
	private Integer paperType1Score;
	private Integer paperType1Num;
	private Integer paperType2Score;
	private Integer paperType2Num;
	private Integer paperType3Score;
	private Integer paperType3Num;
	private Integer paperType4Score;
	private Integer paperType4Num;
	private Integer paperType5Score;
	private Integer paperType5Num;
	private Integer type;
	private Integer paperEnable;

	// Constructors

	/** default constructor */
	public ExamPaper() {
	}

	/** minimal constructor */
	public ExamPaper(String paperName, Integer paperType,
			String paperDescription, Date paperCreateTime,
			Integer paperCreatorId, Integer paperTotalScore,
			Integer paperPassScore, Integer type, Integer paperEnable) {
		this.paperName = paperName;
		this.paperType = paperType;
		this.paperDescription = paperDescription;
		this.paperCreateTime = paperCreateTime;
		this.paperCreatorId = paperCreatorId;
		this.paperTotalScore = paperTotalScore;
		this.paperPassScore = paperPassScore;
		this.type = type;
		this.paperEnable = paperEnable;
	}

	/** full constructor */
	public ExamPaper(String paperName, Integer paperType,
			String paperDescription, Date paperCreateTime,
			Integer paperCreatorId, Integer paperModifyUser,
			Date paperModifyTime, Integer paperTotalScore,
			Integer paperPassScore, Integer paperType1Score,
			Integer paperType1Num, Integer paperType2Score,
			Integer paperType2Num, Integer paperType3Score,
			Integer paperType3Num, Integer paperType4Score,
			Integer paperType4Num, Integer paperType5Score,
			Integer paperType5Num, Integer type, Integer paperEnable) {
		this.paperName = paperName;
		this.paperType = paperType;
		this.paperDescription = paperDescription;
		this.paperCreateTime = paperCreateTime;
		this.paperCreatorId = paperCreatorId;
		this.paperModifyUser = paperModifyUser;
		this.paperModifyTime = paperModifyTime;
		this.paperTotalScore = paperTotalScore;
		this.paperPassScore = paperPassScore;
		this.paperType1Score = paperType1Score;
		this.paperType1Num = paperType1Num;
		this.paperType2Score = paperType2Score;
		this.paperType2Num = paperType2Num;
		this.paperType3Score = paperType3Score;
		this.paperType3Num = paperType3Num;
		this.paperType4Score = paperType4Score;
		this.paperType4Num = paperType4Num;
		this.paperType5Score = paperType5Score;
		this.paperType5Num = paperType5Num;
		this.type = type;
		this.paperEnable = paperEnable;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "paper_id", unique = true, nullable = false)
	public Integer getPaperId() {
		return this.paperId;
	}

	public void setPaperId(Integer paperId) {
		this.paperId = paperId;
	}

	@Column(name = "paper_name", nullable = false, length = 64)
	public String getPaperName() {
		return this.paperName;
	}

	public void setPaperName(String paperName) {
		this.paperName = paperName;
	}

	@Column(name = "paper_type", nullable = false)
	public Integer getPaperType() {
		return this.paperType;
	}

	public void setPaperType(Integer paperType) {
		this.paperType = paperType;
	}

	@Column(name = "paper_description", nullable = false, length = 256)
	public String getPaperDescription() {
		return this.paperDescription;
	}

	public void setPaperDescription(String paperDescription) {
		this.paperDescription = paperDescription;
	}

	@Column(name = "paper_create_time", nullable = false, length = 19)
	public Date getPaperCreateTime() {
		return this.paperCreateTime;
	}

	public void setPaperCreateTime(Date paperCreateTime) {
		this.paperCreateTime = paperCreateTime;
	}

	@Column(name = "paper_creator_id", nullable = false)
	public Integer getPaperCreatorId() {
		return this.paperCreatorId;
	}

	public void setPaperCreatorId(Integer paperCreatorId) {
		this.paperCreatorId = paperCreatorId;
	}

	@Column(name = "paper_modify_user")
	public Integer getPaperModifyUser() {
		return this.paperModifyUser;
	}

	public void setPaperModifyUser(Integer paperModifyUser) {
		this.paperModifyUser = paperModifyUser;
	}

	@Column(name = "paper_modify_time", length = 19)
	public Date getPaperModifyTime() {
		return this.paperModifyTime;
	}

	public void setPaperModifyTime(Date paperModifyTime) {
		this.paperModifyTime = paperModifyTime;
	}

	@Column(name = "paper_total_score", nullable = false)
	public Integer getPaperTotalScore() {
		return this.paperTotalScore;
	}

	public void setPaperTotalScore(Integer paperTotalScore) {
		this.paperTotalScore = paperTotalScore;
	}

	@Column(name = "paper_pass_score", nullable = false)
	public Integer getPaperPassScore() {
		return this.paperPassScore;
	}

	public void setPaperPassScore(Integer paperPassScore) {
		this.paperPassScore = paperPassScore;
	}

	@Column(name = "paper_type1_score")
	public Integer getPaperType1Score() {
		return this.paperType1Score;
	}

	public void setPaperType1Score(Integer paperType1Score) {
		this.paperType1Score = paperType1Score;
	}

	@Column(name = "paper_type1_num")
	public Integer getPaperType1Num() {
		return this.paperType1Num;
	}

	public void setPaperType1Num(Integer paperType1Num) {
		this.paperType1Num = paperType1Num;
	}

	@Column(name = "paper_type2_score")
	public Integer getPaperType2Score() {
		return this.paperType2Score;
	}

	public void setPaperType2Score(Integer paperType2Score) {
		this.paperType2Score = paperType2Score;
	}

	@Column(name = "paper_type2_num")
	public Integer getPaperType2Num() {
		return this.paperType2Num;
	}

	public void setPaperType2Num(Integer paperType2Num) {
		this.paperType2Num = paperType2Num;
	}

	@Column(name = "paper_type3_score")
	public Integer getPaperType3Score() {
		return this.paperType3Score;
	}

	public void setPaperType3Score(Integer paperType3Score) {
		this.paperType3Score = paperType3Score;
	}

	@Column(name = "paper_type3_num")
	public Integer getPaperType3Num() {
		return this.paperType3Num;
	}

	public void setPaperType3Num(Integer paperType3Num) {
		this.paperType3Num = paperType3Num;
	}

	@Column(name = "paper_type4_score")
	public Integer getPaperType4Score() {
		return this.paperType4Score;
	}

	public void setPaperType4Score(Integer paperType4Score) {
		this.paperType4Score = paperType4Score;
	}

	@Column(name = "paper_type4_num")
	public Integer getPaperType4Num() {
		return this.paperType4Num;
	}

	public void setPaperType4Num(Integer paperType4Num) {
		this.paperType4Num = paperType4Num;
	}

	@Column(name = "paper_type5_score")
	public Integer getPaperType5Score() {
		return this.paperType5Score;
	}

	public void setPaperType5Score(Integer paperType5Score) {
		this.paperType5Score = paperType5Score;
	}

	@Column(name = "paper_type5_num")
	public Integer getPaperType5Num() {
		return this.paperType5Num;
	}

	public void setPaperType5Num(Integer paperType5Num) {
		this.paperType5Num = paperType5Num;
	}

	@Column(name = "type", nullable = false)
	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	@Column(name = "paper_enable", nullable = false)
	public Integer getPaperEnable() {
		return this.paperEnable;
	}

	public void setPaperEnable(Integer paperEnable) {
		this.paperEnable = paperEnable;
	}

}